
package com.cmc.service;

import java.util.List;

import com.cmc.service.Manager;
import com.cmc.model.Reason;
import com.cmc.dao.ReasonDao;

public interface ReasonManager extends Manager {
    /**
     * Retrieves all of the reasons
     */
    public List getReasons(Reason reason);

    /**
     * Gets reason's information based on id.
     * @param id the reason's id
     * @return reason populated reason object
     */
    public Reason getReason(final String id);

    /**
     * Saves a reason's information
     * @param reason the object to be saved
     */
    public void saveReason(Reason reason);

    /**
     * Removes a reason from the database by id
     * @param id the reason's id
     */
    public void removeReason(final String id);
}

